package com.weipai.demo.service;

import com.weipai.demo.model.KeyWord;
import com.weipai.demo.model.KeyWordAttribute;
import com.weipai.demo.util.LayuiTablePagingResult;
import com.weipai.demo.util.Response;

/**
 * @Author: 赵项阳
 * @Date: 2019/7/2 16:51
 * @Version 1.0
 */
public interface KeyWordService {
    Response save(KeyWord keyWord);

    LayuiTablePagingResult show(Integer page, Integer size, Integer type);

    LayuiTablePagingResult attributeShow(Integer page, Integer size, Integer id);

    Response updateStatus(Integer id, Integer status,String attribute,Integer type,String ketword,String title);

    Response delete(Integer id);

    Response frontShow(Integer type);

    Response searchKeyword();

    Response saveAttribute(KeyWordAttribute keyWordAttribute);

    Response delAttribute(Integer id);
}
